<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<include file="./Home/Tpl/Admin/Common/cssjs.html" />
</head>
<body>
<style type="text/css">
	html{_overflow-y:scroll}
</style>
<include file="Custompage:nav" />
<div class="pad-lr-10">
  <div class="table-list">
    <form action="{:U("Custompage/createhtml")}" method="post">
      <table width="100%" cellspacing="0">
        <thead>
          <tr>
            <th align="center" width="16"><input type="checkbox" value="" id="check_box" onclick="selectall('tempid[]');"></th>
            <th align="center" width="40">ID</th>
            <th align="left">名称</th>
            <th align="left">生成路径</th>
            <th align="center" width="120">操作</th>
          </tr>
        </thead>
        <tbody>
        <volist name="data" id="vo">
          <tr>
            <td align="center"><input class="inputcheckbox " name="tempid[]" value="{$vo.tempid}" type="checkbox"></td>
            <td align="center">{$vo.tempid}</td>
            <td align="left"><a href="{$Config.siteurl|substr=###,0,-1}{$vo.temppath}{$vo.tempname}" target="_blank" >{$vo.name}</a></td>
            <td align="left">{$vo.temppath}{$vo.tempname}</td>
            <td align="center"><a href="{:U("Custompage/edit",array("tempid"=>$vo['tempid']))}" >编辑</a> | <a href="javascript:confirmurl('{:U("Custompage/delete",array("tempid"=>$vo['tempid']))}','确认要删除吗？')" >删除</a> | <a href="{:U("Custompage/createhtml",array("tempid"=>$vo['tempid']))}" >更新</a></td>
          </tr>
        </volist>
        </tbody>
      </table>
      <div id="pages">{$pages}</div>
      <div class="btn">
        <input type="submit" class="button" name="dosubmit" value="更新" >
      </div>
    </form>
  </div>
  <div id="pages"></div>
</div>
</body>
</html>